Today's Question:  What does your personal desk look like?        GIVE A SHOUT

SEARCH KEYWORD -- Short period



  Google may integrate Chrome OS and Android to build Google OS

A few days ago Google announced Andy Rubin would not in charge of Android anymore and Sundar Pichai would take over Andy Rubin's position. This triggers many guesses on the future direction of the Chrome OS and Android operating system.According to Digitimes, Google is likely to integrate the Chrome OS and Android to build an unified Google OS. But to challenge Windows in the global notebook market, this new system may be in a difficult time in next 1 or 2 years.Google and Acer have indicated b...

   Google OS,Sundar Pichai     2013-03-16 23:55:24

  Launch Java process programmatically in Java

In some cases while working on some automation testcase, developers would like to launch Java process programmatically so that the tests can be ran without manual intervention. Java provides such methods to achieve this. ProcessBuilder can be used to build a Java process which can be launched when everything is ready. Basically it can take a list of parameters which are similar to the command line options/arguments.  For example, if you want to launch a Java process, you can do followi...

   JAVA,PROCESSBUILDER,COMMAND LINE     2016-04-27 04:03:30

  Sustainability

When I was in business school 25 years ago, I don't recall the term sustainability used. Maybe it was, but it certainly didn't register in my brain. The mantras that I recall were return on investment, shareholder value, revenue growth, and driving efficiencies in the business.But as I look at many of the challenges facing businesses today, it seems to me that the focus on performance and efficiency often comes at the cost of sustainability. This talk by Clay Christensen really drives that point...

   Sustainability,Productivity,Efficiency     2011-11-21 10:07:16

  The war with spam comment

Spam comments are annoying and notorious. They are either malicious data from hackers to exploit the loopholes of the site or advertisements posted by robots. These kinds of comments have their own features and patterns, if we are careful enough, we can find ways to block most of them although it's not so easy. To block the comment with malicious executable codes such as JavaScript, we should remember one rule : never trust user input. So wherever there are user inputs, we need to check the vali...

   Spam comment,Block,Filter     2013-11-29 20:29:43

  Why would I learn C++11, having known C and C++?

I am a programmer in C and C++, although I don't stick to either language and write a mixture of the two. Sometimes having code in classes, possibly with operator overloading, or templates and the oh so great STL is obviously a better way. Sometimes use of a simple C function pointer is much much more readable and clear. So I find beauty and practicality in both languages. I don't want to get into the discussion of "If you mix them and compile with a C++ compiler, it's not a mix ...

   C++11,New feature,Study     2012-03-16 08:44:38

  Best practices of front end optimization

1. Use DocumentFragment or innerHTML to replace complex elements insertion DOM operation on browser is expensive. Although browser performance is improved much, multiple DOM elements insertion is still expensive and will affect the page load speed. Assume we have an ul element on our page, we now want to retrieve a JSON list using AJAX and then update the ul using JavaScript. Usually we may write it as : var list = document.querySelector('ul'); ajaxResult.items.forEach(function(item) { // ...

   JavaScript,Front end,Optimization,Tips     2013-07-06 11:26:27

  Twitter service down incidents summary

This Thursday, Twitter encountered a global service down incident. This is the second service down incident since last month. Later Twitter updated its website and stated that users might not be able to access Twitter temporarily.Twitter admitted the service down incident and explained that this time's service down was caused by problems of their both data centers.Ok, now lets summarize the service down incidents encountered by Twitter in past few years.in May 2008, Twitter's new engineer team w...

   Twitter,Service down,History     2012-07-28 12:36:39

  Lenovo gets into the chip design field

According to EETimes, Lenovo will enter the field of chip design, the main focus is the smartphone and tablet chip design.There is a small team of 10 people who are working on integrated circuit design in Lenovo in the past 10 years, Till the middle of this year, Lenovo intends to expand the team to 100 engineers. Lenovo may recruit 40 engineers in Shenzhen and 60 engineers in Beijing.Despite Lenovo has much freedom in the choice of application processors, but because it involves a competitive ...

   Lenovo,Chip,Samsung,Smartphone     2013-04-01 06:15:54

  How to undo git changes?

When using git for version control, there is frequent need on undoing commits due to some unexpected changes. This post will introduce how to undo changes with git command in different cases. Undo commit A common undo case is that some commit needs to be reverted as the commit contains error. In this case, the code is already committed. The command to revert the commit is git revert HEAD This command will add new a commit to the existing head to undo the previous commit. It will not change the p...

   GIT,GIT RESET,GIT REVERT,GIT CHECKOUT     2019-12-28 02:21:47

  How often to change a job?

Those people who choose to change jobs once a year or a few times a year, please keep in mind that if you do not have your own business plans or your own start-up ideas. The choice you have now may be fatal to your future career development. After talking with many development managers, architects, product managers, and other friends, I find the greatest feeling of them is that the vast majority of IT people do not know what they do. From the interviewer's point of view, if you don't know what y...

   CHANGE A JOB,2 YEARS     2012-04-06 11:18:50